package com.netnovelstore.dao;

import com.netnovelstore.pojo.AliPay;
import com.netnovelstore.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface OrdersMapper {

    @Select("select * from tb_orders where trace_no = #{trace_no}")
    Order selectOrderByTraceNo(String trace_no);

    Boolean updateOrdersByTraceNo(Order order);

    Boolean insertOrder(AliPay order);


}
